﻿using Xilium.CefGlue;

namespace NetDimension.NanUI.Browser;

internal sealed class WinFormiumDialogHandler : CefDialogHandler
{
    private readonly Formium _owner;

    public WinFormiumDialogHandler(Formium owner)
    {
        _owner = owner;
    }

    protected override bool OnFileDialog(CefBrowser browser, CefFileDialogMode mode, string title, string defaultFilePath, string[] acceptFilters, int selectedAcceptFilter, CefFileDialogCallback callback)
    {


        return base.OnFileDialog(browser, mode, title, defaultFilePath, acceptFilters, selectedAcceptFilter, callback);
    }
}
